﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.Models
{
    /// <summary>
    /// 货品绑定
    /// </summary>
    public class TPalletTallyInputModel
    {
        /// <summary>
        /// 订单详情Id
        /// </summary>
        public int? OrderDetailId
        {
            get; set;
        }
        /// <summary>
        /// 仓库Id
        /// </summary>
        public int? WarehouseId
        {
            get; set;
        }
        /// <summary>
        /// 托盘条码
        /// </summary>
        public string PalletBarcode
        {
            get; set;
        }
        /// <summary>
        /// 逻辑分区
        /// </summary>
        public string LogicPartCode
        {
            get; set;
        }

        /// <summary>
        /// 货品总数量
        /// </summary>
        public decimal TotalNum
        {
            get; set;
        }

        /// <summary>
        /// 物料包装信息
        /// </summary>
        public PalletPackageModel PalletPackage
        {
            get; set;
        }
    }
    /// <summary>
    /// 垛包装信息
    /// </summary>
    public class PalletPackageModel
    {
        /// <summary>
        /// 物料条码(托盘条码)
        /// </summary>
        public string PackageBarcode
        {
            get; set;
        }
        /// <summary>
        /// 数量
        /// </summary>
        public decimal Num
        {
            get; set;
        }
        /// <summary>
        /// 物料号
        /// </summary>
        public string MaterialCode
        {
            get; set;
        }
        /// <summary>
        /// 货品条码
        /// </summary>
        public List<string> Barcodes
        {
            get; set;
        }
        ///// <summary>
        ///// 订单号
        ///// </summary>
        //public string OrderSN
        //{
        //    get;set;
        //}
        ///// <summary>
        ///// 订单行号
        ///// </summary>
        //public string OrderLineSN
        //{
        //    get;set;
        //}
    }
}
